package org.sws.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.sws.domain.behavior.model.entity.BehaviorRebateConfigEntity;
import org.sws.infrastructure.persistent.po.BehaviorRebateConfig;

import java.util.List;

/**
* @author joyboy
* @description 针对表【behavior_rebate_config(行为返利活动配置)】的数据库操作Mapper
* @createDate 2025-03-27 10:59:11
*/
@Mapper
public interface IBehaviorRebateConfigDao {

    int deleteByPrimaryKey(Long id);

    int insert(BehaviorRebateConfig record);

    int insertSelective(BehaviorRebateConfig record);

    BehaviorRebateConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BehaviorRebateConfig record);

    int updateByPrimaryKey(BehaviorRebateConfig record);

    List<BehaviorRebateConfigEntity> queryBehaviorRebateConfig(String typeCode);
}
